home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 013a / pltmgr22.zip / SCANPLOT.DOC < prev   
Text File  |  1991-04-20  |  2KB  |  57 lines

  1.  
  2.                      ScanPlot - Plot Range Finder
  3.  
  4.                             John Intorcio
  5.  
  6.  
  7. This little program is meant as a tool for finding the maximum and
  8. minimum coordintes used in an HPGL or DM/PL plot file created by
  9. AutoCAD.
  10.  
  11. The synatx is:
  12.  
  13.                 SCANPLOT <Filename>
  14.  
  15. Extensions are not allowed, .PLT is assumed.
  16.  
  17. Upon invocation, ScanPlot reports the assumed langauge of the plot file
  18. and begins scanning the commands contained therein.  It gives a vector
  19. count to the screen so you can see that it's working.
  20.  
  21. On completion, ScanPlot returns the maximum and minimum points that are 
  22. used in the plot file.
  23.  
  24. ScanPlot can be used with PlotManager to determine the high and low 
  25. plotting ranges for a given plotter.  To use ScanPlot with PlotManager, 
  26. begin by creating two AutoCAD drawings.  Each of these drawings should 
  27. contain a single rectangle.  The first rectangle should be much wider 
  28. than high and the second, much higher than wide.  The idea is to make 
  29. the width the constraint on establishing extents on one and the height 
  30. the constraint on the other.
  31.  
  32. Next configure AutoCAD for the plotter model and sheet size in question 
  33. and plot each drawing to a file plotting extents and choosing the "Fit" 
  34. scaling option.  You might want to call these plots H and V for 
  35. Horizontal and Vertical rectangles.
  36.  
  37. Now run ScanPlot on each of the plot files.  The plot file created from 
  38. the Vertical rectangle will yield the maximum and minimum Y values and 
  39. the plot file created from the Horizontal rectangle will yield the 
  40. maximum and minimum X values.
  41.  
  42. You get the numbers like this:
  43.  
  44.         Vertical rectangle plot:
  45.  
  46.             Low Range:      ?,Minimum Y Value
  47.             High Range:     ?,Maximum Y Value
  48.  
  49.         Horizontal rectangle plot:
  50.  
  51.             Low Range:      Minimum X Value,?
  52.             High Range:     Maximum X Value,?
  53.  
  54. These values may then be used in defineing new plotters either by 
  55. editing PlotManager's emulation file or through the interactive 
  56. dialogue.
  57.